package com.ks.springcloud.conig;

import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

/**
 * @Author：Administrator
 * @Date：2022/7/11/0011 22:47
 * @Versiion：1.0
 */
@Component
public class MyLoadBalance {
    @Resource
    private RestTemplate restTemplate;

    /*public <T> ResponseEntity<T> postForEntity(String url, Class<T> responseType){
        restTemplate.postForEntity(url, )
    }

    public <T> T postForObject(String url,  Class<T> responseType){

    }*/
}
